<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>织梦wap站栏目管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<form method="post" action="atwap.php" id="at_type" name="at_type">
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF" align="center">
<tr>
   <td height="28" background='images/tbg.gif' style="padding-left:10px;">
   <div style="float:left">
    	<strong>栏目管理 </strong>
   </div>
   <div style="float:left;padding-left:30px;">
   wap栏目名：<input type="text" value="" name="typename"/> 绑定网站栏目：
   <select onchange="ParTemplet(this)" style="width:200px" id="channeltype" name="btype">
   <?php foreach($typeArray as $value){?>
    <option value="<?php echo $value['id']?>"><?php echo $value['typename']?></option>
   <?php }?>
   </select>
	<input type="submit" class='np coolbg' name="addty_submit" value="增加栏目"/>
   </a>
   </td>
</tr>
</form>
<?php foreach($at_type_info as $atvalue){?>
	<tr height="24">
	<td class="bline"  style="background-color:#FBFCE2">
		<table width="98%" cellspacing="0" cellpadding="0" border="0">
			<tbody>
				<tr>
					<td width="5%">
					<td width="10%">
						<a href="atwap.php?a=typeedit&id=<?php echo $atvalue['typeid'];?>"><?php echo $atvalue['typename']?>[ID:<?php echo $atvalue['typeid']?>]</a>
					 </td>
					 <td width="20%">
						绑定栏目：<?php echo $typebyid[$atvalue['cat']]?>
					 </td>
					 <td align="right" width="30%">
						<a target="_blank" href="/atwap/index.php?c=lists&a=list&typeid=<?php echo $atvalue['typeid']?>">预览</a>|<a href="catalog_do.php?cid=<?php echo $atvalue['cat']?>&amp;dopost=listArchives">内容</a>|<a href="atwap.php?a=typeedit&id=<?php echo $atvalue['typeid'];?>">更改</a>|<a href="atwap.php?a=typedel&id=<?php echo $atvalue['typeid'];?>">删除</a>&nbsp;
					 </td>
					 <td width="40%">
					 </td>
				 </tr>
			 </tbody>
		 </table>
	</td>
</tr>
<?php }?>
</table>



</body>
</html>